package com.shujia.service;

import com.shujia.bean.Score;
import com.shujia.dao.ScoreDao;
import com.shujia.dao.ScoreDaoImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Service  告诉spring这个类需要被创建对象
 *
 */
@Service
public class StudentServiceImpl implements StudentService {

    @Autowired
    private ScoreDao scoreDao ;

    @Override
    public List<Score> queryScoreById(String sId) {

        //分数查询接口没有业务
        return scoreDao.queryScoreById(sId);
    }
}
